import java.util.Arrays;

public class TestMain {
    public static void main(String[] args) {
        Solution s = new Solution();

        int[] nums = {1,2,3,4,5};
        int target = 11;

        System.out.println(s.minSubArrayLen(target,nums));


        nums = new int[] {1,4,4};
        target = 4;

        System.out.println(s.minSubArrayLen(target,nums));


        nums = new int[] {1,1,1,1,1,1,1,1};
        target = 11;

        System.out.println(s.minSubArrayLen(target,nums));


        nums = new int[] {2,3,1,2,4,3};
        target = 7;

        System.out.println(s.minSubArrayLen(target,nums));



    }
}
